Skip to content

Conversation

@sdnts
Copy link
Contributor

@sdnts sdnts commented Feb 12, 2025

Fixes MQ-667

Adds a new queues update subcommand that lets you update a Queue after it is created


  • Tests
    • TODO (before merge)
    • Tests included
    • Tests not necessary because:
  • Wrangler E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
    • I don't know
    • Required
    • Not required because: I've validated these changes manually
  • Public documentation

@sdnts sdnts requested a review from a team as a code owner February 12, 2025 19:52
@changeset-bot
Copy link

changeset-bot bot commented Feb 12, 2025

🦋 Changeset detected

Latest commit: e9ec46a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
wrangler Minor
@cloudflare/vitest-pool-workers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2025

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-wrangler-8120

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/8120/npm-package-wrangler-8120

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-wrangler-8120 dev path/to/script.js
Additional artifacts:

cloudflare-workers-bindings-extension:

wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-workers-bindings-extension-8120 -O ./cloudflare-workers-bindings-extension.0.0.0-va592fe709.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-va592fe709.vsix

create-cloudflare:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-create-cloudflare-8120 --no-auto-update

@cloudflare/kv-asset-handler:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-kv-asset-handler-8120

miniflare:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-miniflare-8120

@cloudflare/pages-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-pages-shared-8120

@cloudflare/unenv-preset:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-unenv-preset-8120

@cloudflare/vite-plugin:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-vite-plugin-8120

@cloudflare/vitest-pool-workers:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-vitest-pool-workers-8120

@cloudflare/workers-editor-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-workers-editor-shared-8120

@cloudflare/workers-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-workers-shared-8120

@cloudflare/workflows-shared:

npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/13309141735/npm-package-cloudflare-workflows-shared-8120

Note that these links will no longer work once the GitHub Actions artifact expires.


[email protected] includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20250204.0
workerd 1.20250204.0 1.20250204.0
workerd --version 1.20250204.0 2025-02-04

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

Comment on lines +207 to +212
if (queueSettings?.delivery_delay === undefined) {
queueSettings.delivery_delay = 0;
}
if (queueSettings?.message_retention_period === undefined) {
queueSettings.message_retention_period = 345600;
}
Copy link
Contributor

@penalosa penalosa Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(non blocking) These can be defaults on the function definition

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do this with the createCommand() helper change?

@penalosa penalosa merged commit 3fb801f into cloudflare:main Feb 13, 2025
24 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes an open-source contribution, big or small label Feb 13, 2025
@holopin-bot
Copy link

holopin-bot bot commented Feb 13, 2025

Congratulations @sdnts, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm73gs4n223560cl4bdzmhbjr

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes an open-source contribution, big or small

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants